package com.illtamer.infinite.sillage.util;

import java.util.Calendar;
import java.util.Date;

public class TimeUtil {

    public static String cutMonth(Date time) {
        final Calendar calendar = Calendar.getInstance();
        calendar.setTime(time);
        final int month = calendar.get(Calendar.MONTH)+1;
        return month >= 10 ? String.valueOf(month) : "0" + month;
    }

}
